package cn.zhl.algorithm._4_图;

/**
 * @program: demos
 * @description:
 * @author: 刘振华
 * @create: 2020-06-15 17:31
 **/
public interface Graph<V,E> {
	int vertexSize();
	int edgeSize();
	void addVertex(V v);
	void addEdge(V in,V out);
	void addEdge(V in,V out,E weight);
	void deleteVertex(V v);
	void deleteEdge(V in,V out);
}
